package com.zy.service.bs;

import com.zy.entity.bs.CustomerApply;
import com.zy.pojo.query.crm.CustomerApplyQuery;
import com.zy.pojo.vos.common.PageVo;
import com.zy.service.base.BaseService;

public interface CustomerApplyService extends BaseService<CustomerApply> {

	/**
	 * 分页
	 * 
	 * @param customerApply
	 * @param start
	 * @param limit
	 * @return
	 */
	PageVo pageCustomerApply(CustomerApplyQuery customerApplyQuery, Integer start, Integer limit);

	/**
	 * 新增
	 * 
	 * @param customerApply
	 */
	void saveCustomerApply(CustomerApply customerApply);
	
	/**
	 * 更新
	 *
	 * @param customerApply
	 */
	void updateCustomerApply(CustomerApply customerApply);

	/**
	 * 删除
	 * 
	 * @param id
	 */
	void removeCustomerApply(long id);

	/**
	 * 恢复
	 * 
	 * @param id
	 */
	void recover(long id);

	void regiestCustomerApply(CustomerApply customerApply);

	void checkCustomerApply(CustomerApply customerApply);

    CustomerApply getCheckWait(Long clubId);

}
